<template>
  <div>
    <h3 id="kang" ref="you">康有为是勺</h3>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },

  mounted() {
    let h = document.querySelector("#kang");
    let hh = this.$refs.you;
    console.log(h);
    console.log(hh);
  },

  methods: {},
};
</script>

<style lang="scss" scoped>
</style>